<?php


namespace App\Models\OpenShop\SiteLocation;


use App\Models\BaseModel;
use App\Models\Traits\KfUid;

class OpenShopSiteLocationHouseEvaluateModel extends BaseModel
{
    use KfUid;

    protected $table = 'open_shop_site_location_house_evaluate';

    protected $fillable = [
        'orderNo',
        'scenicScore',
        'streetScore',
        'shopScore',
        'takeoutScore',
        'rentGrade',
        'content'
    ];

    public static function getData(string $orderNo)
    {
        return self::query()->where('orderNo', $orderNo)->first();
    }
}
